package us.icitap.cm.business;

public enum AppListManadatoryValuesEnum {

	ReportingMethod_Phone("ME TELEFON"),
	ReportingMethod_KALLEZIM("ME KALLZIM/ANKIM"),
	ReportingMethod_OFFICER("EVIDENTIM DIREKT NGA OFICERI"),
	ReportingMethod_OPERATION("OPERACION POLICOR"),
	
	PersonInvolvement_SUSPECT("I DYSHUAR"),
	PersonInvolvement_VICTIM("VIKTIME"),
	OperationType_NDERKOMBETAR("NDERKOMBETAR");
	
	
	
	private String caption;
	
	private AppListManadatoryValuesEnum(String caption){
		this.caption = caption;
	}
	
	public boolean isPartOfList(String value){
		
		AppListManadatoryValuesEnum[] array = AppListManadatoryValuesEnum.values();
		
		for (int i = 0; i < array.length; i++) {
			if(array[i].getCaption().equals(value))
				return true;
		}
		return false;
	}



	public String getCaption() {
		return caption;
	}



	public void setCaption(String caption) {
		this.caption = caption;
	}
	
	public String toString(){
		return caption;
	}
	
	
}
